Using Resources from dll!!
hello dev.
can we use the resource from the resource only dll.....
can we use the resource from the resource only
dll.....Hello!
What exactly do you need to extract?
We tried extracting icons from Windows DLLs.
You can see how we did it in WinPack for JNIWrapper (http://www.jniwrapper.com)
Check the WinPack demo or WinPack sources (they are available).
Good Luck!
EToporov
Similar Messages
-
Using resources from an external JAR inside a JAR
Hi,
I'm trying to package all parts of my application into a JAR file so I can deploy my application using Java Web Start. However, I have an issue.
I need to use the files from an external JAR, Ice.jar, with my application. Therefore, I included Ice.jar in my build, specifically in the lib/Ice.jar directory.
This does not seem to be working; my application cannot read the information from the Ice.jar file when I launch my JAR file. It does work in one instance, however:
I have a directory included in the same directory where my JAR file is. This directory is named lib, and contains Ice.jar. My directory structure is as follows:
dist
dist/NVAC.jar //my JAR
dist/lib/Ice.jar //the external JARMy JAR file, NVAC.jar, will ONLY work if that lib directory is included in its directory. This is NOT what I want to do; I want to include the external JAR inside my JAR file, so a user will only have to download the JAR file. I have included the external JAR inside my JAR as I mentioned previously; at the path myJAR/lib/Ice.jar.
Therefore, how do I use a resource from an external JAR inside my JAR? Do I have to use ClassLoader? ClassLoader.loadClass() perhaps?
If I can provide any more information, please let me know.
ThanksSeems to me it isn't practical to want to do things
that don't work. Especially since you're using
WebStart and it takes care of dependent jars
automatically for you if you configure things
correctly, so this absurd idea of jars inside jars
isn't even helpful.Dang DrClap, you seem to be the go-to guy for destroying all my ridiculous ideas (no offense; I mean that in a good way).
Seems I did not understand JWS fully when I thought of that idea. I researched it more after reading the replies here, and I see that I was indeed thinking absurdly.
Thank you for the help,
Dan -
Recognize Text Using OCR from DLL
Hi:
We are a service company,working on a project we need to do OCR on PDF files: convert a PDF to a searchable PDF.
The customer has licenses for Adobe Acrobat Pro Extended.
The problem we have to solve it: from a JSP page, run an applet and to have access to Adobe Acrobat Pro Extended for use the funcionality "Recognize Text Using OCR" on a PDF file.
Ideally, we would be able to access a DLL and invoke this functionality, it is possible?
If not, what would be the way to access this functionality: IAC? Plug-In?
Would greatly appreciate any help.
Thank you very much.
Raimundo Carlos
www.base100.com[lrosenth:]
> LiveCycle ES includes lots of PDF functionality that you can use from various APIs.
I tended to associate the term "LiveCycle" with the newfangled (XML-based) way to handle forms, but it has become clear that LiveCycle is much more than a new Forms paradigm.
It sounds like the LiveCycle SDK/Library can be used as a (full?) replacement for the original APDFL.
Is there a table somewhere with the differences between those two SDKs?
TIA,
-Ramon -
Using resources from webcenter 11.1.1.2
Hi everybody,
I'm working on webcenter 11.1.1.5 and I want to use the page template defined in webcenter 11.1.1.2 which does not provide the possibility to manage resources.
How can I do ??? (implementing a page template from scratch ???
Thanks for your help.
Edited by: nfatmi on Mar 2, 2012 3:15 AMThe simple thing would be ,
1)Open the 11.1.1.2 project in jdeveloper 11.1.1.5.0 version.It will ask you to migrate the files in 11.1.1.5.0 format,accept it.
2)Run the application , if it is running then it's okay for you. And if not running then copy the template code and it's corresponding page defination file, and paste both the files in your 11.1.1.5.0 project's template.And create portal resources in jdevoper itself.
Hope it is clear for you. This is not a solution but a workaround.
Regards,
Hoque -
How to get a handle which is used in c dll from javax.smartcardio.card
good afternoon
i am using javax.smartcardio.card to operate a sim-card reader .
but i have a dll which is call sim-card reader by handle.
how can i get a handle from a javax.smartcardio.card object to pass to the dll
next is the code .
c dll prototype declaration
char DoFormat([in] unsigned long P1�C[in] char * P2�C[in] bool P3,[in][out] char *P4)P1 is a handle
java code:
private boolean checkCardReader(boolean isopen)
boolean r=false;
try {
javax.smartcardio.card card;
TerminalFactory factory = TerminalFactory.getDefault();
List terminalList = factory.terminals().list();
terminal = (CardTerminal) terminalList.get(0);
// establish a connection with the card
card = terminal.connect("T=0");
channel = card.getBasicChannel();
//how can i get a handle which can be used by windows dll .
}catch (Exception ex)
System.out.println("Exception : " + ex);
return r;
*****************************************************************Presumably you are calling a C library method that returns a handle.
Normally a handle will be a integer type value.
With such a value you can cast it into a java integer type and then cast it back in different JNI code by passing it to those routines.
A java long is as big as you can get and will hold most every normal type handle item. You should however verify sizes. -
I have had a mixed opinion for SQLCE support in windows phone 8/8.1. Is their still support for a local SQLCE or other database in windows phone 8.1? (A lot of different blog articles created their own handlers it appears and one used
an visual studio app called SQLmetal) I am hoping to at least figure out the libraries to use for Linq to SQL in windows phone 8.1 in order to access a local Database. I only need to retrieve data from a simple Database with one -
two tables and one of the tables has three fields.
I wish to access the local DB from a dll file even if I have to use Linq to SQL. The reason for this is to store data for a simple game while the app is running. However, I may need to send data to the database and would like to separate that
from the main application if possible. The only other question is: how do I add local database support to a dll file in windows phone 8.1? (This is my main objective but I need to know my database options first)
Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering
- Yoda. Blog - http://www.computerprofessions.co.nrWindows Phone Silverlight 8.1 apps can still use LINQ to SQL (System.Data.Linq) see:
http://msdn.microsoft.com/en-us/library/windows/apps/hh202860(v=vs.105).aspx
For Windows Phone 8.1 [runtime] app you would need to use an external library like
SQLite
There is a jumpstart training talk on using SQLite in Windows Phone 8.1 apps here:
http://channel9.msdn.com/Series/Building-Apps-for-Windows-Phone-8-1/19
I'm not sure what you mean by: "...access the local DB from a dll file..." Do you mean you want the library used to access the database to be portable across
platforms?
Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
your votes for existing suggestions.
I saw the first link and I think I have already been through some of that tutorial on channel 9 already.
I'm not sure what you mean by: "...access the local DB from a dll file..." Do you mean you want the library used to access the database to be portable across platforms?
This would be a yes. I need use it to submit an application to the store (I wish to have the data and business logic in the dll file while having the GUI separate). I am currently using the portable dll but if you think using another dll type would help
I will try that. I am a VB.NET programmer and so I can see where some programmers get their worries about SQLCE (It seems a lot of VB and VB.NET programmers like it from my time helping on the VB.NET forums second to SQL Server only).
Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering
- Yoda. Blog - http://www.computerprofessions.co.nr
Nevermind, I changed the dll type to "Silverlight" and I can use the System.Data.Linq reference at least.
Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to
suffering - Yoda. Blog - http://www.computerprofessions.co.nr -
Can't use parameter reference from DLL C on pl/sql
hi all, I have dll(newStr.dll) write by c language with a function name is "strNew", following code in c and pl/sql:
char* strNew(char *& str){
if (str != NULL){
str = strdup("");
str = strcat(str,"String is not null.");
}else{
str = strdup("");
str = strcat(str,"String is null.");
return str;
On PL/SQL I call the dll(newStr.dll), following code on pl/sql:
1) Create library:
CREATE OR REPLACE LIBRARY TestDLL AS 'D:\newStr.dll';
2) Create package:
CREATE OR REPLACE
PACKAGE TEST_DLL AS
FUNCTION strNew(str IN OUT varchar2) RETURN VARCHAR2;
END TEST_DLL
CREATE OR REPLACE
PACKAGE BODY TEST_DLL AS
FUNCTION strNew(str IN OUT VARCHAR2)
RETURN VARCHAR2 AS
EXTERNAL LIBRARY TestDLL
NAME "strNew"
LANGUAGE C
CALLING STANDARD PASCAL
PARAMETERS(str BY REFERENCE STRING, return STRING);
END TEST_DLL
3) Create Procedure:
CREATE OR REPLACE
PROCEDURE TESTPRO AS
newStrIn varchar2(40) :='test';
newStrOut varchar2(256);
BEGIN
newStrOut := TEST.strNew(newStrIn);
DBMS_OUTPUT.PUT_LINE('newStrOut = ' || newStrOut );
DBMS_OUTPUT.PUT_LINE('newStrIn = ' || newStrIn );
END TESTPRO;
4) Run procedure the result following:
newStrOut = String is not null.(it correct)
newStrIn= 8!(it wrong, the newStrIn='String is not null' is correct))
I not found root cause why in pl/sql, I can't get the variable reference from dll c.
Please help me.
Quan.For compatibility purposes you would probably be better using 10g development rather than 9i if you are going to use a 10g database. I'm not familiar with the latest versions in terms of Oracle Forms, cos I stopped developing in Forms back on version 8.
Essentially there are different components you can download and install.
Database - This sets up a database server and allows you to create databases to store your data in.
Client - This installs the necessary client software to allow you to connect to a database on a database server. It includes client software such as SQL*Plus and the drivers needed to make the connections.
Developer - This is a client side development environment for developing forms and reports. It requires the Client software in order to be able to connect to the database.
By the sounds of it you have downloaded and installed the last two, but without the first one you don't have a database to connect to. -
[Q] Using a VC++ DLL from LabWindows
I need to create a DLL that uses shared memory. I can do
this with Visual C++ but haven't succeeded doing it with
LabWindows.
So now I want my LabWindows executable to use the VC++ DLL.
I'm having trouble because some identifiers are "redefined"
(defined both in the needed VC++ include files as well as in
CVI include files).
Can someone tell me either how to create a DLL that uses
shared memory in LabWindows (this is my preferred solution)
or else how to use a VC++ DLL from LabWindows?
My ultimate aim is to use the shared memory to share
instrument session handles, since we need to be able to talk
to the same instrument from more than one process. Has
anyone already done this?
TIA for any help ...
B
* S
ent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!Hello andre,
today I have read your message of the 20th Sept. 1999 in the NI-Newsgroup.
And I am also trying to use SHARED MEMORY.
But I have no experience with it. Could you help me?
Do you have succeded ?
With best regards,
CHRISTIAN ZIPPER
ande schrieb in im Newsbeitrag:
[email protected]..
> I need to create a DLL that uses shared memory. I can do
> this with Visual C++ but haven't succeeded doing it with
> LabWindows.
>
> So now I want my LabWindows executable to use the VC++ DLL.
> I'm having trouble because some identifiers are "redefined"
> (defined both in the needed VC++ include files as well as in
> CVI include files).
>
> Can someone tell me either how to create a DLL
that uses
> shared memory in LabWindows (this is my preferred solution)
> or else how to use a VC++ DLL from LabWindows?
>
> My ultimate aim is to use the shared memory to share
> instrument session handles, since we need to be able to talk
> to the same instrument from more than one process. Has
> anyone already done this?
>
> TIA for any help ...
>
>
> B
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network
> The fastest and easiest way to search and participate in Usenet - Free!
> -
Access resource from other application using JAAS
i use JAAS for autenticate and autorizate in my web application, but i need access a resource from the other application , but this application don�t use JAAS.
How can i acces this resource from other application?
i know need send the parameters JSESSIONID, but , always redirecto the login page.
thank you for your helpyour signon url is consists of the following url http://server.domain.com:port/site/signon.html
Can you ping server.domain.com from your client?
If you can ping it, then make sure your port is added as a rule in the firewall of the server.
Also make sure that the proxy setting of the client have an exception to server.domain.com.
If you cannot ping it, make sure the server and the client are conneted to the same network and make sure the hosts file on the client reflects the ipaddress and the hostname of the server.
Hakan -
I want to use a VposCOMAPI.dll, written by vs2010, from PB9 or later.
I want to use a VposCOMAPI.dll, written by vs2010, from PB9 or later.
I use the following code:
OLEObject obj
int ret_code, ret_Code2
obj = create OLEObject
String Auth_code, Rsp_code, Rsp_msg
ret_code = obj.ConnectToNewObject("VposCOMAPI.dll")
if ret_code <> 0 then
destroy obj
messagebox("error", "Error !" + string(ret_code))
return
else
obj.apiInit()
obj.CARD_NO="9999111188882222"
obj.MERCHANTID = "0909090909"
obj.executeAuth()
ret_Code2 = obj.AUTH_RETCODE
if ret_Code2 = 0 then
Auth_code = obj.APPROVE_CODE
Rsp_code = obj.RESPONSE_CODE
Rsp_msg = obj.RESPONSE_MSG
messagebox("OK", "OK !")
else
messagebox("error2", "Error2 !")
end if
destroy obj
end if
I got the ret_code “ Errorcode -2 ( Class name not found )”.
Anybody could help me ?
Could I use the VposCOMAPI.dll in this way ?
Thanks !
Jack
PS : The VposCOMAPI.dll works in VS2010
1 Add Reference --> Browse
2 VB sample code
Public Class Form1
Dim ac As New VposCOMAPI.ApiClient
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim retCode As Integer
rspCode.Text = ""
rspMsg.Text = ""
approveCode.Text = ""
txnNo.Text = ""
txnDate.Text = ""
apiResult.Text = ""
ac.setPORT(443)
ac.setLogFile("D:\workTemp\vposApi.log")
ac.setURL("nccnet-vpostest.nccc.com.tw", "/vposMert/servlets/apiControl")
ac.setMERCHANT_ID(merchantId.Text)
ac.setTERMINAL_ID(posId.Text)
ac.setEXPIRE_DATE(expireDate.Text)
ac.setCARD_NO(cardNo.Text)
3 C# sample code
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
using VposCOMAPI;
namespace testCSapi
public partial class Form1 : Form
public Form1() {InitializeComponent();}
private void send_Click(object sender, EventArgs e)
int retCode = 0;
ApiClient ac = new VposCOMAPI.ApiClient();
ac.setURL("nccnet-vpostest.nccc.com.tw", "/vposMert/servlets/apiControl");
ac.setLOGFILE("D:/workTemp/vpos/log/testCSapi.log");
ac.setMERCHANT_ID(merchantId.Text);
ac.setTERMINAL_ID(posId.Text);
ac.setEXPIRE_DATE(expireDate.Text);
ac.setCARD_NO(cardNo.Text);Hi,
A few things to remember. They must be 32-bit ComVisible or COM Interop registered assemblies.
You need to use the ProgId to connect to; have you checked if they were visible in the browser?
As Jacob mentions,
These have been discussed before by Bruce, particularly in the PowerBuilder Deveopment Center and in other places.
A few more references:
http://scn.sap.com/message/14156871#14156871
http://scn.sap.com/community/developer-center/powerbuilder/blog/2013/02/28/using-net-assemblies-with-powerbuilder
http://scn.sap.com/community/developer-center/powerbuilder/blog/2014/07/19/calling-net-assemblies-from-powerbuilder-classic-win32-via-powershell
http://pbdj.sys-con.com/node/397016
http://pbdj.sys-con.com/node/258395
Ben -
Icons from a resource-only DLL
Hi,
I would like to bundle all the icons in our application into a resource-only DLL and have Forms6i pick the individual icons from this DLL. I tried copying the DLL to both the working folder and to the UI60_ICON directory, but the icons do not get displayed in either case. Do I need to do anything else, or is the approach feasible at all?
Any help would be greatly appreciated.
Thanks and regards,
Rajesh JayaprakashI figured it out...here is the solution:
ObjectCache cache = _resource.getCache();
try {
PersistentObject po = cache.getObject(_resource.getType(), ldapName, (String)null);
} catch (Exception e) {
// Error handling here
} -
OSB - Load Resources From URL using proxy
Hi all,
How does one force the OSB to use a proxy server when using the Load Resources From URL option?
I'm trying to create a wsdl resource from an url, but the OSB needs to use a proxy to access the url.
I've tried creating a Proxy Server under System Administration -> Global Resources -> Proxy Servers, but I can't seem to find a place to make it use a proxy server?
How do guys and gals get wsdl files though a proxy?
Thanks!
WilliamHi Milan,
Thanks for your reply.
I tried setting -Dhttp.proxyHost=12.34.56.78 -Dhttp.proxyPort=80 in the startWebLogic.cmd file under the ...\domain\bin folder. But still can't download the wsdl.
Where did you set the property?
thanks again,
William -
How to use a custom.dll in forms 6i
Hi,
i have made a small dll using a icon-making software, that software has made a .dll of the icon I made in that software
Now i want to use that .dll in my forms 6i. (client/server)
the dll contains only one icon named 'Icon1'
would any one please tell me how can I call that icon in that .dll to view in my forms button at run time..
is this possible..??
just for clarification, for security reasons I am not using the .ico of that icon diect from hardisk in my button thats why i made a .dll of that so that the user may not be able copy my icon
thanks in advance,Here is the doc
Doc ID: Note:99824.1
Subject: How to Display User-Defined Cursors and Icons in Forms
Type: BULLETIN
Status: PUBLISHED
Content Type: TEXT/X-HTML
Creation Date: 23-FEB-2000
Last Revision Date: 30-OCT-2002
PURPOSE
The purpose of this note is to explain how to display customized
cursors and icons in Forms 6.0 on Windows platform (32 bits).
Assumption is made that resources are stored in a DLL, which is
available in the path at runtime.
It is mandatory to store the cursor in a DLL to make it available
with Forms: .cur cursor files cannot be directly loaded from the
file system.
On the other hand, icons .cio files can directly be read from the
filesystem by Forms Runtime. However we will focus on icons which are
stored in a DLL.
The article is divided into two main parts:
- how to build a resource-only DLL with Visual C++ 5.0
- how to display the cursor and the icon in Forms 6.0
SCOPE & APPLICATION
The intended audience needs to have basic knowledge in Forms Builder
and also in Visual C++ (or any other Win32 compiler).
A typical environment is Forms 6.0, Visual C++ 5.0 and Windows NT.
WHAT IS A RESOURCE ?
A resource can be considered as some extra binary information that can
be added to an executable file. Windows resources are for example icons,
cursors, menus, dialog boxes, keyboard-accelerator tables and much more.
Resources are usually stored in a .rc file, which is compiled by the
resource compiler in order to provide a .res file. These compiled resources
can then be appended to a binary executable file or a DLL.
For instance, Visual C++ 5.0 includes a resource editor which allows you to
draw your icons and your cursors, and store them in a resource file.
Part I - BUILDING A RESOURCE-ONLY DLL
Consider the following setup:
- myicon.ico: icon file
- mycur.cur: cursor file
The objective of this section is to build a DLL called proj.dll which
contains both the icon and the cursor. This operation requires several steps.
Step 1: Create a project
In Visual C++, select menu File->New... In the dialog box, choose the Projects
tab and pick "Win32 Dynamic Link-Library". Fill the project name (e.g. Proj)
and the location (e.g. c:\MyProjects). Check 'Create new workspace', check
Win32 as target platform and click on OK.
This creates a directory c:\MyProjects\Proj, where necessary .rc and .cpp
files can be stored. Place the .ico and .cur files in this directory too.
Step 2: Add a resource file to the project
Create a proj.rc file, edit it and make sure it contains the following lines:
testcur CURSOR DISCARDABLE "mycur.cur"
testico ICON DISCARDABLE "myicon.ico"
This is the resource file. Using the Project->Add to Project->Files... menu,
select the proj.rc file and add it to the current project.
Step 3: Add a dummy C++ file to the project
Create a proj.cpp file, edit it and make sure it contains the following lines:
#include <windows.h>
extern "C"
BOOL WINAPI DllMain (HINSTANCE hInstance, DWORD dwReason, LPVOID)
return 1;
This creates an entry-point in the DLL. This function does nothing but is mandatory
to have a DLL after the build of the project.
Add the proj.cpp file to the project as described in Step 2.
Step 4: Choose the target type
At this moment, you can choose if you need a 'DEBUG' or a 'RELEASE' flavour of
the DLL. As there is not much to debug in this DLL, the 'RELEASE' flavour is
recommended. Furthermore, it is much more compact.
Using the Build->Set Active Configuration... menu, choose the Proj - Win32 Release
as the active configuration.
Step 5: Build the DLL
Now, it is time to compile the resource file, compile the C++ file, link both
together and build the proj.dll DLL. This operation is performed by using the
Build->Rebuild All menu.
After a short time, you should see "Proj.dll - 0 error(s), 0 warning(s)" in
the Visual C++ message window. This means that the DLL was built successfully.
Step 6: Place the DLL in the appropriate directory
The proj.dll file is currently located under the c:\MyProjects\Proj\Release
directory. Copy it in an appropriate directory which is reachable in the
runtime environment path.
Part II - USING THE ICON AND CURSOR IN THE FORM
At this stage the DLL is created and can be used in the Form application.
Again, this is a multi-step procedure.
Step 1: Load the DLL in the Forms Runtime environment
Assuming the proj.dll DLL is placed in a directory pointed by the
PATH environment variable, below is the piece of PL/SQL code which loads
the DLL into the Forms Runtime environment. This code can be placed in the
WHEN-NEW-FORM-INSTANCE trigger for example:
declare
hDLL ORA_FFI.LIBHANDLETYPE;
begin break;
--Preload the DLL so the cursor and Icons can be found.
-- I'm assuming the DLL is in the path here
hDLL := ORA_FFI.LOAD_LIBRARY(NULL,'proj.dll');
exception
when ORA_FFI.FFI_ERROR then
for i in 1..TOOL_ERR.NERRORS LOOP
message(TOOL_ERR.MESSAGE(i));
end LOOP;
end;
Step 2: Display the cursor stored in the DLL
Now, you may want to change the cursor when the user clicks on
a specific button. This is an example of code that could be set
in the WHEN-BUTTON-PRESSED trigger:
set_application_property(CURSOR_STYLE,'<proj>TESTCUR');
<proj> refers to the proj.dll. Please note the < and > signs
which are mandatory there. TESTCUR is the name of the cursor resource
as defined in the proj.rc file.
Step 3: Display the icon stored in the DLL
You may also want to change the icon of an iconic button after
some specific end-user action. The appropriate code for that is:
set_item_property('IBUTTON',ICON_NAME,'<proj>TESTICO');
IBUTTON is a PushButton, with the Iconic property set to Yes.
TESTICO is the name of the icon resource as defined in the proj.rc file.
Asim. -
when i try to set up to import vi from .DLL file, how do i include more than one .h file
(select shared lib & header file screen)
here's the warning message, and the import failed.
there's only 2 files which has the refer f(x) - *.dll & *.h
The shared library contains 1 function(s), among which the declarations of 0 function(s) are found in the header file and these function(s) will be imported. The remaining 1 function(s) listed below cannot be imported.
- getAuthenticationArray ()
For each function, verify the following conditions:
1. The function is declared in the header file.
2. The declaration of the function in the header file(s) is embraced by a valid predefined symbol.
3. The predefined symbols are included in the list of valid predefined symbols. You can click the Back button to get to the previous page of the wizard and add the predefined symbol.
4. The header file contains declarations for the functions to be converted.Kitahara,
To get a better idea of your issue please answer these questions:
1.What version of LabVIEW are you using?
2. What language was the .DLL created in?
3. Please attach any pertinent files
4. Have you looked at this resource?
Thanks,
Nathan -
How can I use the CFDAQ6004.dll in a embedded c++-application?
Hi,
I´m working on a reaserch project and I´m trying to write a embedded c++-aplication which reads from values the Compactflash Card CFDAQ6004 of NI. Can I use the cfdaq6004.dll to read from? If yes, how to?
I hope anyone has a solution for me
Best regards, Homi!Hi there,
I know this post is very old but i guess many guys visit it when reading the topic or by googling about CFDAQ6004 driver. Unfortunately CFDAQ6004.dll is very low level driver that support several functions dealing directly with CF6004 card such as ATTset and ATTget... etc. as one can view in any PE explorer for Windows CE. After a month of testing and analysis, i have successfully write a dll based on CFDAQ6004.dll to open, configure, read, write analog/digital data from/to CF6004 card. The new library was given a name CF6004LIB.dll the following is comparison between my dll and daqmxbase driver:
New Dll DAQmxbase driver
1. Can be used inside any programming environment Can only be used inside Labview
inc. eVC++ , VC++ .net, VC# .net, VB .net
2. Support fully dynamic task configuration Only static configration possible (dynamic task can be done with modified VIs)
3. Remove a lot of overhead by accessing CF6004 directly Puts a lot of overhead passing through GUI, objects, controls, ...etc.
4. Support full error detection Some errors can not be catched
5. Full sampling rate can be achieved 200 kS/sec system dependent (max. 130 kS/sec in hp ipaq 211 PDA)
6. Support contiuous/limited sampling continuous sampling is possible but at reduced rate`
7. small in size < 10 kB Minimum program size 600 kB
Also, I have written some modified VIs for CF6004 including reduced (specifically used for CF6004 card ) VIs and dynamic task configrable VIs.
Bye
Jaf
Maybe you are looking for
-
Hyper V feature in Win 8.1 after getting installed , system is not able to boot up
I am using Windows 8.1 professional x64 os in my Hp pavilion G6 laptop which has virtualisation technology enabled in the bios , but after enabling hyper v feature in the windows system is not able to boot up and circles around for a long time. I nee
-
when ever i click a picture in photo booth it does not automatically update its content is this a bug or i don't know how to do it? whenever you click a picture in photobooth you have to manually insert it one by one in iphoto i want to know is there
-
How do I add this effect to a rotated video [pic]
I have a rotated video which now has black bars on either side which looks like so: How do I make it so the black bars on the sides are the right & left sides of the actual video appearing blurred? Like this: I don't want to have to zoom to fit. Than
-
[SOLVED] SOA Suite 11g and OID
How should I configure OC4J in TP4 such that Human Tasks can be assigned to users in an LDAP directory, e.g Oracle Internet Directory? Thanks, Eyðun Message was edited by: Eyðun E. Jacobsen Message was edited by: Eyðun E. Jacobsen
-
Opening VI written in labview 5.0 with version 8.5
Hi, I am new to Labview. I have VIs to capture the Tektronics real time scope waveforms written in Labview 5.0. I am currently using is evaluation version 8.5. I am getting an error that the new version does not support these old files. I just want t