(not sure where to post this...)
How do I pass a Delphi string to a function expecting WCHAR* in a Visual C++ DLL?
I tried declaring the parameter as filename: PChar (and PWideChar) but I don't see the string being passed.
I get the following mess on the screen:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
com.jivesoftware.base.UserNotFoundException
com.codegear.jive.cdnauth.CDNUser.loadFromMembers(CDNUser.java:83)
com.codegear.jive.cdnauth.CDNUser.(CDNUser.java:28)
com.codegear.jive.cdnauth.CDNUserManager.lookupUser(CDNUserManager.java:34)
com.jivesoftware.base.UserManagerAdapter.getUser(UserManagerAdapter.java:82)
com.jivesoftware.base.UserManagerProxy.getUser(UserManagerProxy.java:60)
com.jivesoftware.base.action.interceptor.AuthInterceptor.processAwareInterfaces(AuthInterceptor.java:61)
com.jivesoftware.base.action.interceptor.AuthInterceptor.intercept(AuthInterceptor.java:43)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:186)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:225)
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
com.jivesoftware.base.action.util.JiveFilterDispatcher.doFilter(JiveFilterDispatcher.java:68)
com.jivesoftware.util.SetResponseCharacterEncodingFilter.doFilter(SetResponseCharacterEncodingFilter.java:61)
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
com.jivesoftware.base.theme.ThemeFilter.doFilter(ThemeFilter.java:50)
com.jivesoftware.base.util.webwork.JiveActionContextCleanUp.doFilter(JiveActionContextCleanUp.java:38)
com.jivesoftware.base.util.JiveCompressionFilter.doFilter(JiveCompressionFilter.java:123)
com.jivesoftware.util.SetRequestCharacterEncodingFilter.doFilter(SetRequestCharacterEncodingFilter.java:72)
com.jivesoftware.base.util.MaintenanceFilter.doFilter(MaintenanceFilter.java:83)
com.jivesoftware.forum.upgrade.UpgradeFilter.doFilter(UpgradeFilter.java:49)
com.jivesoftware.base.plugin.PluginFilter.doFilter(PluginFilter.java:56)
com.jivesoftware.base.util.ApplicationInitializedFilter.doFilter(ApplicationInitializedFilter.java:81)
No comments:
Post a Comment