DwgList 2021 DLL TechDocs

Initialization

Initialization

DwgList DLL requires a call to dwglist_Init to initialize the DLL. It requires a parameter for normal operation. This parameter is the Serial Number provided to your company when you licensed DwgList DLL. If you have not licensed DwgList DLL yet and want to run in Demo Mode, the pass a blank string to dwglist_Init. Certain methods will not work in Debug mode.

Wrapup

When your process is done with DwgList DLL, simply call dwglist_UnInit to close out the data structures and release any used memory.

	if (dwglist_Init("aaaa-bbbb-cccc-dddd-eeee-ffff-gggg") == eNoError)
	{
		dwglist_ProcessFile(argv[1]);
		
		/* Your code goes here */
		
		dwglist_UnInit();
	}
	else
		cout << "Failed to initialize DWGList DLL" << endl;

Last updated on 16 Feb 2021
Published on 15 Feb 2021