I tried below, but it did not work. Thanks.
12913
Type: Posts; User: john-hyz
I tried below, but it did not work. Thanks.
12913
Is there a way using Graphics Library to convert a color image to black and white.
The GDI+ seems can do some color tranformation, but it is not in the Graphics Library....
How can we print the report in black & white programatically?
I checked the help, cDRReport class does not have a property that allows to set the print in B&W/colour.
Thanks.
How can we disable a form but leave the Zoom, copy, and the right-click menu enabled?
Thanks.
We can store the pointers of strings into a pointer array.
For example:
String sMsg
Pointer[] prgMsg
Move "Test1" To sMsg
Move (AddressOf(sMsg)) To prgMsg[0]
Below two posts gave me some...
Finally figured that out.
LPCSTR* is mapping to a address to a pointer array in DataFlex.
For example:
Pointer[] prgMsg
Move (ReportEvent(ohEvent, EVENTLOG_ERROR_TYPE, 0, 0, 0, 1, 0,...
Hi Michael,
Thanks for the response.
I got a ERROR_INVALID_PARAMETER, when passing in a pointer to a pointer to a string array.
Hi Vincent,
It did not say which parameter caused the error.
But if I change the code to:
Move ("Test1" + Character (0) + "Test2" + Character(0)) To srgMsg[0]
Move...
Hi Michael,
May I ask what you will pass to the function?
Do you mean:
Move (ReportEvent(ohEvent, EVENTLOG_ERROR_TYPE, 0, 0, 0, 1, 0, AddressOf(AddressOf(srgMsg)), 0)) To bRet
Hi Vincent,
Thanks for the reply.
It did not work.
The function complains:
ERROR_INVALID_PARAMETER
Hi Samuel,
Thanks for the feedback.
But it did not work.
The output looks like:
12557
We are trying to do some Windows event logging.
According to MS's documents, we can call ReportEvent function to write logs....
We are developing an application that calls Google Cloud Print (GCP).
The requests submitted to GCP need to be in multipart/form-data format.
For example:
96b2d819-8370-0134-028d-6c545f2f0241...
DLLs, including szLibXL.dll, exist in multiple locations:
MyWorkplace\Programs\
MyWorkplace\Libraries\StarZen.LibXL\Programs\
MyWorkplace\Libraries\StarZen.LibXL\Programs\Manifest\...
I used the Package Manager to download StarZen.LibXL.
I register the dll with below command:
RegAsm.exe szLibXL.dll /CODEBASE
When I run LibXLSample.exe, I got a COM Initialize error.
Is...
Thanks for the response.
However, I am asking about the official LibXL library developed by DataFlex.
Where can I find the documentation for DataFlex Library for LibXL?
Thanks.
Hi Nils,
Thanks for your response.
I figured out webapp has different cache areas for debug and normal mode.
Even if it is working in debug, it might take a while to work in normal mode.
I...
Hi Nils
I am still having some problem with web applications.
When running the web app from the DataFlex Studio (in debug), the manifest works fine.
However, when running the web app normally...
Well...it is actually working with web applcation as well.
If I change the manifest file, it will take a while to take effect.
This is so confusing...
Hi Nils,
It is working with windows application.
BTW, do you know if manifest work with web application?
It seems, by default, web application is not reading the manifest file.
Do you have any...
I think the key point here is to set the correct runtimeVersion attribute.
Although Microsoft says it is not mandatory, if not set correctly, the DLL instantiation will fail.
Another thing to be...
I figured out how to do that.
Firstly, we need to add a <dependency> node in app.exe.manifest.
For example:
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32"...
Hi Peter
Tom and I are trying something similar with what you did. We also cannot make it work.
It complains Unable to instantiaze COM object.
Anyone got an idea? Thanks.
Hi Wibier
Thanks for your response.
Some of our experiment results to share:
(1) DataFlex Mobile is not responsive in the WebView (Xamarin.Forms)
(2) Bootstrap is responsive in the WebView...